* {
    margin: 0;
    padding: 0;
    font-size: 0;
}

body {
    background-color: rgb(250, 250, 250);
}

#part {
    width: 400px;
    height: 600px;
    margin: 200px auto;
    position: relative;
    font-size: 32px;
    text-align: center;
}

#par {
    width: 243px;
    height: 390px;
    overflow: hidden;
    border: 3px solid lightskyblue;
    position: absolute;
    top: 90px;
    left: 80px;
}

#begin {
    width: 140px;
    height: 40px;
    font-size: 30px;
    color: lightpink;
    text-align: center;
    display: block;
    z-index: 999;
    cursor: pointer;
    border: 3px solid lightpink;
    margin: 180px auto;
}

#scores {
    width: 150px;
    height: 50px;
    font-size: 22px;
    text-align: center;
    display: block;
    z-index: 999;
    position: absolute;
    top: 60px;
    left: 40px;
}

#mins {
    width: 220px;
    height: 50px;
    font-size: 22px;
    text-align: center;
    display: none;
    z-index: 999;
    position: absolute;
    top: 60px;
    left: 155px;
}

#overscore {
    width: 220px;
    height: 50px;
    font-size: 22px;
    z-index: 999;
    display: none;
    position: absolute;
    top: 150px;
    left: 92px;
}

#overmins {
    width: 220px;
    height: 50px;
    font-size: 22px;
    z-index: 999;
    position: absolute;
    top: 180px;
    left: 92px;
}

#content {
    width: 243px;
    height: 390px;
    position: relative;
    top: 0;
    z-index: 10;
    display: none;
}

#jianjie {
    font-size: 20px;
    width: 250px;
    height: 80px;
    line-height: 30px;
    position: absolute;
    bottom: 30px;
    left: 80px;
}

#content div {
    display: inline-block;
}

#content .pd {
    width: 100%;
    height: 120px;
    margin: 0;
}

.pd div {
    border: 1px solid black;
    box-sizing: border-box;
    width: 81px;
    height: 120px;
}

.black {
    background-color: black;
    box-sizing: border-box;
}

.grey {
    background-color: #d9d9d9;
    box-sizing: border-box;
}

